 
 
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:white;
  color: #1a3c5e;
  margin: 0px;
  padding:0px;
}
/* header */

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
 
    body {
      font-family: 'Poppins', sans-serif;
    }
 
    
 
    
    /* Content Styles */
    .content {
      margin-top: 148px;
      padding: 2rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }
 
    .content h1 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
 
    .content p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 1rem;
    }
 
    

/* homebaner */
.hero-banner {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 150px;
}

@media (min-width: 640px) {
  .hero-banner {
    height: 150px;
  }
}


@media (min-width: 768px) {
  .hero-banner {
    height: 180px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
  color: white;
}

/* Heading */
.hero-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

/* Breadcrumbs */
.hero-breadcrumbs {
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .hero-breadcrumbs {
    font-size: 0.875rem;
  }
}

.breadcrumb-link {
  color: #ffc107;
  text-decoration: none;
}

.breadcrumb-current {
  color: #ffffff;
}

.breadcrumb-separator {
  margin: 0 0.25rem;
  color: #fff;
}
 
 
 body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #ffffff;
      color: #333;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
    }

    .section {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .image-section img {
      margin: 0px auto;
      width: 70%;
      height: auto;
      object-fit: cover;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
    }

    .text-section h2 {
      font-size: 2rem;
      font-weight: bold;
      color: #1a202c;
      margin-bottom: 1rem;
      margin-left: 0;
      padding-left: 0;
    }

    .text-section p {
      color: #4a5568;
      margin-bottom: 1rem;
      text-align: justify;
      line-height: 1.6;
    }

    .related-service {
      background-color: white;
      padding-top: 2rem;
      text-align: center;
      border-top: none;
    }

    .related-service h2 {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
      padding-top: 50px;
      padding-bottom: 5px;
    }

    .related-service .highlight {
      color: #facc15;
    }

    .related-service .title-dark {
      color: #1a3c5e;
    }

    .related-service p {
      font-size: 0.9rem;
      color: #6b7280;
    }

  @media (min-width: 375px) {
    .related-service{
  margin-top: 0;
  padding-top: 0;
    }
  }
 @media (min-width: 375px) {
    .container{
  margin-bottom: 0;
  padding-bottom: 0;
    }
  }
    /* Responsive */
    @media (min-width: 768px) {
      .section {
        flex-direction: row;
        align-items: flex-start;
      }

      .image-section, .text-section {
        flex: 1;
      }
    }
    * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #f9f9f9;
      margin: 0;
      padding: 0;
    }

    .grid-container {
      max-width: 1200px;
      margin: 3rem auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      padding: 0 1rem;
    }

    @media (min-width: 640px) {
      .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
      }
    }

    @media (min-width: 768px) {
      .grid-container {
        grid-template-columns: repeat(3, 1fr);
      }
    }

   .card {
  background-color: white;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #facc15;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 0;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
  transform: translateX(0);
}

.card-image {
  position: relative; /* Ensure image stays above the ::before background */
  z-index: 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  padding: 4px;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  position: relative; /* Ensure content stays above the ::before background */
  z-index: 1;
  padding: 1rem;
}

.card-content h3,
.card-content h4,
.card-content p {
  position: relative;
  z-index: 1;
  margin: 0;
  transition: color 0.3s ease;
}

.card-content h3 {
  color: #1a3c5e;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-content h4 {
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.card-content p {
  font-size: 0.9rem;
  color: #4b5563;
  text-align: justify;
}

.card:hover .card-content h3,
.card:hover .card-content h4,
.card:hover .card-content p {
  color: white;
}
    /* logo */
    .pagination-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 30px;
    }

    .pagination-controls {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .pagination-button {
      padding: 10px 15px;
      font-size: 18px;
      cursor: pointer;
      background-color: #f0f0f0;
      border: none;
      border-radius: 5px;
    }

    .pagination-items {
      display: flex;
      gap: 10px;
    }

    .pagination-item {
      border: 2px solid transparent;
      border-radius: 5px;
      cursor: pointer;
      overflow: hidden;
    }

    .pagination-item img {
      width: 30px;
      height: auto;
      display: block;
      border-radius: 5px;
    }

.card-link {
  text-decoration: none; 
  color: inherit;        
  display: block;         
}
@media (min-width: 375px) {
    .hero-banner {
        margin-top:100px; 
    }
}


@media (min-width: 425px) {
    .hero-banner {
         margin-top:100px; 
    }
    input::placeholder {
    font-size: 5px;
}

}
@media (min-width: 768px) {
    .hero-banner {
         margin-top:154px; 
    }
}

@media (min-width: 768px) {
    .container {
         padding-bottom: 0;
    }
}


@media (min-width: 375px) {
  .relate-p p {
    margin-top: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: justify;
  }
}

h4{
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.card:hover .card-content h4 {
  color: white !important;
}


    .card-content h4,
    .card-content p {
      position: relative;
      transition: color 0.3s ease;
    }


/* Text Justify and Center Align CSS */
.relate-p {
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  max-width: 800px; /* Optional: limits width for better readability */
}

.relate-p p {
  text-align: justify;
  text-align-last: center; /* Centers the last line */
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Alternative approach - if you want the entire paragraph centered */
.relate-p p.center-only {
  text-align: center;
  text-align-last: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .relate-p {
    padding: 15px;
    max-width: 100%;
  }
  
  .relate-p p {
    font-size: 0.95rem;
    text-align: justify;
    text-align-last: center;
  }
}

@media (max-width: 480px) {
  .relate-p {
    padding: 10px;
  }
  
  .relate-p p {
    font-size: 0.9rem;
    text-align: justify;
    text-align-last: center;
  }
}

/* Additional breakpoints for 475px and 425px */
@media (max-width: 475px) {
  .relate-p {
    padding: 12px;
    max-width: 100%;
  }
  
  .relate-p p {
    font-size: 0.9rem;
    text-align: justify;
    text-align-last: center;
    line-height: 1.5;
  }
}

@media (max-width: 425px) {
  .relate-p {
    padding: 10px;
    max-width: 100%;
  }
  
  .relate-p p {
    font-size: 0.85rem;
    text-align: justify;
    text-align-last: center;
    line-height: 1.5;
  }
}